package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._09建造者模式._4建造者3;

import java.awt.*;

//抽象的建造者类
abstract class PersonBuilder {
    protected Graphics g;

    public PersonBuilder(Graphics g){
        this.g = g;
    }

    public abstract void buildHead();       //头
    public abstract void buildBody();       //身体
    public abstract void buildArmLeft();    //左手
    public abstract void buildArmRight();   //右手
    public abstract void buildLegLeft();    //左脚
    public abstract void buildLegRight();   //右脚
}